/*
This is just a placeholder blank stylesheet so as to support adding custom styles budled with theme's default styles

Read https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#bundling-custom-css-with-themes-assets for more info
*/

:root {
    --footer-height: 40px;
    /*--content-gap: 20px;*/
    /*--content: rgb(80, 80, 80);*/
    /*--hljs-bg: rgb(35, 35, 35);*/
    --hljs-bg: rgb(44, 44, 44);
    /*--code-bg: rgb(235, 235, 235);*/
    --code-bg: rgb(240, 240, 240);
    --code-bg-border: rgb(200, 200, 200);
    --black: rgb(0, 0, 0);
    --white: rgb(255, 255, 255);
    --tag: rgb(235, 235, 235);

    --nav-width: 1300px;
    /*--nav-width: 1024px;*/
    --article-width: 650px;
    --toc-width: 300px;
}

.main {
    max-width: calc(var(--main-width) + var(--gap) * 5);
}

/*页面顶部栏两边宽度*/
.nav {
    max-width: calc(var(--nav-width) + var(--gap) * 10);
}

body {
    font-size: 18px;
    line-height: 1.6;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.post-content {
    /*color: var(--secondary);*/
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.post-content h1 {
    font-size: 40px;
}

.post-content h2 {
    font-size: 34px;
}

.post-content h3 {
    font-size: 26px;
}

.post-content h4 {
    font-size: 20px;
}

.post-content h5 {
    font-size: 16px;
}

.post-content h6 {
    font-size: 14px;
}

.post-content p {
    margin-top: 20px;
    /*text-indent: 2em;*/ /*所有首行缩进*/
}

.dark .post-content h1, .dark .post-content h2, .dark .post-content h3,
.dark .post-content h4, .dark .post-content h5, .dark .post-content h6,
.dark .post-title {
    color: var(--content);
}

.dark h1, .dark h2,
.dark h3, .dark h4,
.dark h5, .dark h6,
.dark p {
    color: rgba(180, 181, 182, 0.8);
}

.post-description {
    padding-bottom: 10px;
    color: var(--secondary);
}

.dark body, .dark a, .dark .toc .details {
    color: rgba(180, 181, 182, 0.8);
}

img {
    opacity: 1;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.dark img {
    opacity: 0.8;
    border: 1px solid var(--border);
}

img:active {
    transform: scale(1.25, 1.25);
    opacity: 1;
    z-index: 999;
    border: 1px solid var(--border);
}

@media screen and (min-width: 768px) {
    ::-webkit-scrollbar {
        width: 13px;
        height: 13px;
    }
}

.footer {
    max-width: none;
    padding: 10px 0 5px 0;
}

.entry-cover1 {
    border-radius: 10px;
    display: flex;
    justify-content: center;
}

.post-entry {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.entry-cover {
    border-radius: 10px;
    overflow: hidden;
    width: 50%;
    margin-bottom: unset;

    max-height: 150px;
    display: grid;
    align-content: center;
}

.post-info {
    display: inline-block;
    overflow: hidden;
    width: 100%;
    padding-right: 10px;
}

/*top*/
.topInner {
    display: grid;
    align-items: baseline;
    justify-items: center;
    margin: 7px;
    font-weight: 900;
}

.topSvg {
    width: 20px;
}

.top-link {
    padding: unset;
}

/*表格*/
.post-content table {
    word-break: normal;
}

.post-content table th {
    font-size: 18px;
}

/*首页button*/
.buttons {
    max-width: 100%;
}